diff options
Diffstat (limited to 'src/core/hle/service/mii/mii_types.h')
-rw-r--r-- | src/core/hle/service/mii/mii_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/mii/mii_types.h b/src/core/hle/service/mii/mii_types.h index 9efe6c915..f43efd83c 100644 --- a/src/core/hle/service/mii/mii_types.h +++ b/src/core/hle/service/mii/mii_types.h @@ -13,6 +13,7 @@ namespace Service::Mii { +constexpr std::size_t MaxNameSize = 10; constexpr u8 MaxHeight = 127; constexpr u8 MaxBuild = 127; constexpr u8 MaxType = 1; @@ -604,8 +605,7 @@ enum class ValidationResult : u32 { }; struct Nickname { - static constexpr std::size_t MaxNameSize = 10; - std::array<char16_t, MaxNameSize> data; + std::array<char16_t, MaxNameSize> data{}; // Checks for null or dirty strings bool IsValid() const { |